package demo.service.impl;

import java.util.List;

import demo.dao.impl.WeiboDaoImpl;
import demo.entity.Weibo;
import demo.service.WeiboService;

public class WeiboServiceImpl extends GenericServiceImpl<Weibo, Long, WeiboDaoImpl> implements WeiboService {
	
	@Override
	public List<Object[]> queryWeiboByUserId(int id, String type) {
		return generalDao.queryWeiboByUserId(id, type);
	}
	
	@Override
	public List<Object[]> queryWeiboByWeiboId(long id) {
		return generalDao.queryWeiboByWeiboId(id);
	}
	
	@Override
	public List<Object[]> queryWeiboByWeiboContent(String content) {
		return generalDao.queryWeiboByWeiboContent(content);
	}

	@Override
	public List<Object[]> queryForwardByWeiboId(long id) {
		return generalDao.queryForwardByWeiboId(id);
	}
}
